package cn.piggy.component;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class PiggyParam {
    @Value("${baidu.config.apiHost}")
    private String apiHost;
    @Value("${baidu.config.authHost}")
    private String authHost;
    @Value("${baidu.config.clientId}")
    private String clientId;
    @Value("${baidu.config.clientSecret}")
    private String clientSecret;
    @Value("${baidu.config.tran.createHost}")
    private String createHost;
    @Value("${baidu.config.tran.queryHost}")
    private String queryHost;
    @Value("${baidu.config.appId}")
    private String appId;
    @Value("${baidu.config.apiKey}")
    private String apiKey;
    @Value("${baidu.config.secretKey}")
    private String secretKey;

    public String getCreateHost() {
        return createHost;
    }

    public void setCreateHost(String createHost) {
        this.createHost = createHost;
    }

    public String getQueryHost() {
        return queryHost;
    }

    public void setQueryHost(String queryHost) {
        this.queryHost = queryHost;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getApiKey() {
        return apiKey;
    }

    public void setApiKey(String apiKey) {
        this.apiKey = apiKey;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public void setSecretKey(String secretKey) {
        this.secretKey = secretKey;
    }

    public String getApiHost() {
        return apiHost;
    }

    public void setApiHost(String apiHost) {
        this.apiHost = apiHost;
    }

    public String getAuthHost() {
        return authHost;
    }

    public void setAuthHost(String authHost) {
        this.authHost = authHost;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getClientSecret() {
        return clientSecret;
    }

    public void setClientSecret(String clientSecret) {
        this.clientSecret = clientSecret;
    }
}
